//
//  URLRouterRuleProtocol.h
//  Router
//
//  Created by zhubangqian on 2018/2/23.
//  Copyright © 2018年 zhubangqian. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol URLRouterRuleProtocol <NSObject>

@required
/**
 routerRule的path eg:/home, /qadetail
 
 @return path
 */
- (NSString *)routerPath;

@optional

/**
 该rule执行的方法

 @param params 对应的参数
 @param completeBlock 回调
 */
- (void)execute:(id)params complete:(void(^)(id))completeBlock;

@end
